#pragma once

#include <d3d9.h>
#include <d3dx9.h>

//////////////////////////////////////////////////
//Vertex
//////////////////////////////////////////////////

class Vertex
  {
  public:
    Vertex(void);
    Vertex(D3DXVECTOR3 i_location, D3DXVECTOR3 i_normal, float i_texture_u, float i_texture_v);
    ~Vertex(void);

  private:
    D3DXVECTOR3 m_location;
    D3DXVECTOR3 m_normal;
    float m_texture_u;
    float m_texture_v;

  public:
    D3DXVECTOR3 GetLocation() const;
    D3DXVECTOR3 GetNormal() const;
    float GetTextureU() const;
    float GetTextureV() const;

  private:
    void SetLocation(D3DXVECTOR3 i_location);
    void SetNormal(D3DXVECTOR3 i_normal);
    void SetTextureU(float i_texture_u);
    void SetTextureV(float i_texture_v);
  };

//////////////////////////////////////////////////
